<?php 
	$auth = Thaind_Auth_Admin::getInstance();
	if ($auth->hasIdentity()){
		$identity = $auth->getIdentity();
		echo "<h5><a class = 'icon-' href = '/user'>Hello " . $identity->name . "<a> | <a class='icon-signout' href='/index/logout'>Logout</a></h5>";
	}else{
		echo "<h5><a class='icon-signin' href='/index/login'> Login</a> | <a class='icon-play-sign' href='/index/register'> Register</a></h5>";
	}
?>
